Upgraded missing numba to ModuleNotFoundError instead of a warning.#4291
Upgraded missing numba to ModuleNotFoundError instead of a warning.#4291pauladkisson wants to merge 1 commit intoSpikeInterface:mainfrom
Conversation
|
@chrishalcrow since you said you were on it, wanna have a look? @pauladkisson beat you at the PR too ehehehe |
|
Hey @pauladkisson - thanks for the PR! We don't generally raise errors if there's an issue with one quality metric. This is because we don't want an entire pipeline to fail if one metric fails. Hence I suggest #4292 , which will return Another option: @alejoe91 can we make "numba" |
I think would prefer an explicit |
|
Superseded by #4292 |
Fixes #4290
Note that metric.compute is actually handled inside a try-except block. So this still only raises a warning when Numba is not installed. Just a more informative one.
spikeinterface/src/spikeinterface/core/analyzer_extension_core.py
Lines 1127 to 1141 in 53c247a